package com.example.demo.service;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;

import org.springframework.retry.annotation.Retryable;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import com.example.demo.model.Dto;

@Service
public interface Service2 {
	@Async
	@Retryable
	public void processThis(Future<Dto> test, com.example.demo.service.Service service) throws InterruptedException, ExecutionException;

}
